FileProgression

Undocumented in source.

Constructors

this
this(string filePath, uint readSteps, uint bytes)

If bytes == 0, it will use readsteps.

Members

Functions

getProgress
float getProgress()
Undocumented in source. Be warned that the author may not have intended to support it.
setOnFinish
void setOnFinish(void delegate(ref ubyte[] data) onFinish)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnUpdate
void setOnUpdate(void delegate(float progress) onUpdate)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
update
bool update()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

readSize
ulong readSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
ulong size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

buffer
ubyte[] buffer;
Undocumented in source.
fileData
ubyte[] fileData;
Undocumented in source.
fileSize
ulong fileSize;
Undocumented in source.
onFinish
void delegate(ref ubyte[] data) onFinish;
Undocumented in source.
onUpdate
void delegate(float progress) onUpdate;
Undocumented in source.
progress
ulong progress;
Undocumented in source.
stepSize
uint stepSize;
Undocumented in source.
target
File target;
Undocumented in source.

Meta